//
//  CAMembersSearchApi.m
//  LNH
//
//  Created by twentylx on 2018/2/11.
//  Copyright © 2018年 twentylx. All rights reserved.
//

#import "CAMembersSearchApi.h"

@implementation CAMembersSearchApi {
    NSString *_name;
}

- (instancetype) initWithName:(NSString *) name {
    self = [super init];
    if (self) {
        _name = name;
    }
    return self;
}

-(YTKRequestMethod)requestMethod{
    return YTKRequestMethodPOST;
}

-(id)requestArgument{
    return @{
             @"token":GVUD.token,
             @"name":_name,
             };
}

-(NSString *)requestUrl{
    NSLog(@"%@", [NSString stringWithFormat:@"%@user/selectBelowUserList",BASE_SERVICE_DOMAIN]);
    return [NSString stringWithFormat:@"%@user/selectBelowUserList",BASE_SERVICE_DOMAIN];
    
    
}
@end
